namespace java com.zxy.thriftdemo.api.thrift

struct TUser{
    1:i64 id,
    2:string name,
    3:i32 age
}

exception NotExistException {
  1: i32 num,
  2: string msg
}
 
service  TThriftDemoService {
  TUser sayHello(1:i64 id, 2:TUser user) throws (1: NotExistException qe);
}